import 'package:dio/dio.dart';

class DioManager {
  final dio = Dio();
  var baseUrl = "http://1.15.221.125:3000";

  void getHttp() async {
    final response = await dio.get('https://dart.dev');
    print(response);
  }
  void postArticle() async {
    final response = await dio.post(baseUrl+"/acticle");
  }
}
